#!/usr/bin/env python
# -*- coding: utf-8 -*-

from Tkinter import*

class App:
	def __init__(self,master):
		frame = Frame(master); frame.pack()
		self.button = Button(frame, text = "SALIR" , fg = "red" , command=  frame.quit)
		self.button.pack(side= LEFT)
		self.hi_there = Button(frame, text ="HOLA", command = self.say_hi)
	def say_hi(self):
		print "Hey, Caramba...!"
root = Tk(); app = App(root);
root.mainloop(); root.destroy()
